<table style = 'width:100%'>
	<?php foreach ($seatTypes as $st): ?>
	<tr>
	    <th style = 'background:<?php echo $st['SeatType']['color']?>'>　</th>
	    <td>
	    	<a href = 'javascript:;'
	    		data-id = '<?php echo $st['SeatType']['id']?>'
	    		data-color = '<?php echo $st['SeatType']['color']?>'
	    		data-name = '<?php echo $st['SeatType']['name']?>'
	    		data-price = '<?php echo $st['SeatType']['price']?>'
	    		data-add_class = '<?php echo $st['SeatType']['add_class']?>'
	    		onclick = 'st.f.selSeatType(<?php echo $st['SeatType']['id']?>,this)'>
	    		<?php echo $st['SeatType']['name']?>
	    	</a>	
	   	</td>
	    <td><?php echo $st['SeatType']['price']?></td>
	    <td>
	    	<a href = 'javascript:;' onclick = 'st.f.editSeatType(<?php echo $st['SeatType']['id']?>)'>修改</a>
	    </td>
	</tr>
	<?php endforeach;?>
</table>